package com.sunther.document.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunther.document.entity.MsgEntity;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author admin
 */
public interface MsgService extends IService<MsgEntity> {
    List<MsgEntity> listByKeyword(String keyword, Integer state);

    void saveMag(Integer type, Integer userId, String nickName, String projectId);

    void setRead(HttpServletRequest request);
}
